Dark Room And Coins Puzzle || Amazon Interview Question